package com.example.order.api.client;

import com.example.order.api.fallback.UserClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "cloud-user", fallback = UserClientFallback.class)
public interface UserClient {
    @GetMapping("/user/get")
    String getUser();

}
